package com.axc.brilliant.dao;

import com.axc.brilliant.domain.WechatTaskDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * ${comments}
 * @author admin
 * @email yfq900108@163.COM
 * @date 2019-08-12 22:42:41
 */
@Mapper
public interface WechatTaskDao {

	WechatTaskDO get(String taskid);
	
	List<WechatTaskDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(WechatTaskDO wechatTask);
	
	int update(WechatTaskDO wechatTask);
	
	int remove(String TASKID);
	
	int batchRemove(String[] taskids);
	
	// LayUi 分页查询
	List<WechatTaskDO> PageLayUi_List_By_Query(WechatTaskDO query);
	// 根据query，查询条数
	int total(WechatTaskDO query);
	
	// 根据query ，查询并返回一条记录
	WechatTaskDO Get_Model_By_Query(WechatTaskDO query);
}
